d is the midpoint of line CE, AE=49, AC=3x-46, BC=5, and BD=x. Find AD

A--B--C--D--E

since d is the midpoint of line CE, CD=DE

BD-BC=CD

AC+2CD=49