X/a -1=y/b for x
Ax+2xy=14 for y
A=(f+g/2)h for g
Ax+2xy=14 for y
A=(f+g/2)h for g