In any scenario, to find the centre of motion consider the maximum and minimum value of cos and sin which are 1 and -1.
As a result, the amplitude (max value of the function) is 5+2.
The minimum value is 5-2.
Therefore the particle moves between x = 3 and x = 7.
The centre of the motion is the average of these two values and so it is x = 5.