Hi Sirsh, do you perhaps know the equation that links period, radius, and mass together?
T² / R3 = 4p²/(GM) is the equation that I've got where hopefully p represents pi. so what you've done above to calculate the slope seems right. and the slope will represent 4p²/(GM). So you have to isolate the M in that equation.