looks like a two sample t statistic

where your n's are off

you need to pool correctly and thats looks like a 29+77-2 below

and 29 should be a 28 and 77 a 76 in the pooled sample variance

BUT do explain where this is coming from

that would make my job easier