need help reearing formula

T= 2pie sqrt(m/k solve for m

is this right

k= T^2/m 4pie^2

No. You are supposed to solve for m.

square both sides

T^2= 4 PI^2 M/k

m= T^2 k/(4 PI^2)