From the problem, we can derive two equations.
The first will be
![1.25p = q](https://img.qammunity.org/2019/formulas/mathematics/middle-school/sex20aue1zwsaqsfbwksvnkrrfbl2cx5j5.png)
, as we know that the price index of q from p is 125.
The second will be
![q-p=1.30](https://img.qammunity.org/2019/formulas/mathematics/middle-school/8t76k9iuplc8nbsj27zks9ygndt862dz0c.png)
, as we know that the price q is RM1.30 greater than p.
Solving the system of equations gives us p = 5.2, and q = 6.5.