If i understand you are wanting to find the value of g
so if 2/5 of the unkown value g is equal to -14 you would find out that 1/5 g would be -7 so to find g you times -7 by 5 and get -35
g= -35