PLS HELP 20 points

T^2 = 4π^2a^3 /GM

How do you solve for M? Explain each step of the solution in a short paragraph.

PLEASE NO LINKS, Just explain how this question is solved.