Make n the subject of the formula:
M=3n+5
M=3n+5