It is known that B and C are any two points on the line ad, M is the midpoint of AB, and N is the midpoint of CD. If BC = B, Mn = a, find the length of the line ad. (expressed by a, b) A. M, B, C, N, D are arranged from left to right

It is known that B and C are any two points on the line ad, M is the midpoint of AB, and N is the midpoint of CD. If BC = B, Mn = a, find the length of the line ad. (expressed by a, b) A. M, B, C, N, D are arranged from left to right

A_____ M_____ B___ C__ N__ D
∵BC=b,MN=a,
∴BM+CN=a-b,
∵ m and N are the midpoint of AB and CD respectively,
∴AB+CD=2BM+2CN=2(BM+CN)=2a-2b,
∴AD=AB+CD+BC=2a-b.