I am doing an experiment titled 'mass on a spiral spring' in order to find the value for the acceleration due to gravity in the first part of this experiment, I just measured the oscillation period of a spring as a suspended mass and plotted these results onto a graph to find the spring constant.

In the 2nd part of the experiment, I measured the ratio of the extension of the spring as a function of suspended mass to determine the value of g and plotted these results onto a graph, creating an e/m graph

My question to you, is to find the value of the acceleration of gravity, do you simply multiply the gradients of both graphs?