If 3,X,Y,18 Are In A P Find X And Y

You can create two equations in 2 variables:

x-3 = y-x and y-x = 18-y

simplify each and solve as a system of equations in
2 unknowns.