Given: n1=20; xbar1=58.8; s1=5.7
Given: n2=40; xbar2=71.7; s2=10.5
By "Student's" t-Distribution: Compute Pooled Variance σ-cap2 equal to [(20−1)5.72 + (40−1)10.52] ÷ [20+40−2] or 84.77689655. The Standard Error Of The Difference Between Means based on use of
σ-cap2 is σ-cap(xbar1-xbar2) or √[(84.77689655/20)+(84.77689655/40)] or 2.521560477.
The 90% Confidence Interval is then given by (58.8−71.7) ± (Two-Tailed t with 58 Degrees Of Freedom At (1−0.90) or 0.10 Level Of Significance = 1.6716 by Online Calculator for T-Values) × (The Standard Error Of The Difference Between Means = 2.521560477), yielding -17.11504049 and -8.684959507 and equivalent to -17.1150 and -8.6850.
It can then be stated with 90% confidence that xbar2 is somewhere between 8.6850 and 17.1150 more than xbar1.