solve m+d+y=a for y