HELP ASAP!! Someone please help me solve #19 with steps on how to solve?

Answer:
a.9
b. ay=9
xy= 18
Step-by-step explanation:
a. xa=ay (since a is a midpoint that means xa and ay are the same amount).
3x=5x-6
subtract 5x from both sides
-2x=-6
inverse operations, so divide both sides by -2. (a negative divided by a negative is a positive)
x=3
so xa=3x. fill in x
3*3 is 9
b. fill in the x
5*3-6
5 times 3 is 15.
15-6=9
(also xa is 9 and they are congruent so both are 9)
ay= 9
add both sides to find xy
9+9=18
xy=18