solve the equation 5g + 3 =7 + 3g