Solve for g 1/2(6g+2)=12