Solve for g 5g=w