g=6-7n/3=n make n the subject
g=6-7n/3 Subtract 6 from both sides of the equation
g-6 = -7n/3 Multiply both sides by - 3/7
-3/7 (g-6) = n
-3/7 g + 18/7 = n