You have to find the range in terms of the initial angle then try to optimize it . That is how I solved it . You have to think why one needs an optimization approach to solve this problem.
There is inconsistency , the questions on the attachment and the problem statement you provided . I would like to help you but there are some ambiguity .
It's stated that you have to find the position vector as a function of time. you are correct writing R(0) = 0i + 0j , but this is for the displacement at time t = 0.
Think of this as a projectile motion in a gravitational field.
R here is a vector.
The total Electric potential due to these two charges at the red cross must be summed as scalars. So write down the potentials as a sum to find the total potentials that's it.
Think as you set on a long stick and ur friend is away from you who is setting on the stick too the stick is fixed in the middle and the ends oscillate up and down like kids game in the garden.
You will see him stationary. Because you both are moving with same angular velocity. So ! Use this...