Solve for f 3f-2g=5+h