M/5=30 M=?

This is not physics. It is basic algebra.

Multiply both sides of the equation by 5 to get M.