(a) for potential energy use e=-GM1M2/r
(b) since they tell u that escape velovity is where the KE=PE then u use
M1v^2/2 = -(-GM1M2/r) since KE is equal but opposite in direction a gain in KE is a loss in PE
Then manipulate the eqn to get escape velocity= sqr root of 2GM2/r now that u noe...