.
As you started your solution, it was absolutely right way.
I only do not understand why you stopped there, where you stopped and did not go to the end.
The reasoning is very simple and intuitively is obvious.
We should place two terms "m" and "n" between given numbers "a" and "b" in a way that
four terms a, m, n, b form an AP.
So, between the extreme terms "a" and "b", there are three gaps of equal length.
Hence, each gap is , and therefore
m = + = = ,
n = - = = .
That's all. At this point, the solution is complete.
Solved.