Suppose M is the midpoint of line FG.

A) FM= 5y+13, MG=5-3y, FG=?

B) FM=8a+1, FG=42, a=?