I think it's A becaouse the answer I got was very close to the answer of A so it's A I think. Im just tying to help c:
If point A is the midpoint then that means line segments XA and AY are equivalent so you can set:
3x=5x-6
(now you solve for x)
2x=6
(divide by 2 on both sides)
x=3
So BASICALLY,
XA= 3x= 3(3) = 9
AY= 5x-6= 5(3)-6 =9
So now you know the length of both sides, add those together and you get
XY=18
The temperature will be 84 degrees in 12 hours
7x + 3 is the final answer