I know that you have to cancel out the masses and forces but still unsure how the equation goes
m cancels so
If that's not what you are asking post the whole problem.
Well a is acceleration. In the specific case of gravity g is acceleration. So I guess you aren't asking us to point at the equation and say "there it is". I imagine it is too simple minded to believe that you just want us to invert the equations for you?
a = F/m or g = F/m. ?
Ok, the answer to the question you seem to be asking is too trivial. I think I missed something. What are you asking again?
Separate names with a comma.