Solve for g 9g=w