The first three of the four numbers are equal ratio series, and the last three are equal difference series. The sum of the first and last two items is 21. The sum of the middle two items is 18

The first three of the four numbers are equal ratio series, and the last three are equal difference series. The sum of the first and last two items is 21. The sum of the middle two items is 18

Let these four numbers be AQ A / Q (2A / Q-A)
Then AQ + 2A / Q-A = 21
a+a/q=18
The solution is a = 6 or 45 / 4, q = 1 / 2 or 5 / 3
So these four numbers are 3 6 12 18 or 75 / 4 45 / 4 27 / 4 9 / 4 respectively