Since the samples are from two populations, I would not assume the variances to be equal. I'll include this calculation if there's a note to allow for equal variances.
Unequal variances
s12 = 398/17 = 23.412
s22 = 370/15 = 24.667
t = (M1 - M2) / sqrt(s12/18 + s12/16)
= -6.6/1.686 = -3.915
Because this t statistic is outside of the critical bounds (less than -2.75), we have sufficient evidence to say that the means of the populations are different.
Equal variances
sp2 = (SS1 + SS2) / (18+16-2)
= 24
t = (M1 - M2) / sqrt(sp2•(1/18 + 1/16))
= -6.6/1.683 = -3.921
This calculation generates the same conclusion
Thus, we can conclude that there is sufficient evidence that the means of the two populations are different.