Oh wow. I forgot to post the question! Sorry. So, i've given you the relevant information, but the question is:
Find the mass, m, of Q.
Now, I drew a diagram (you know by now how poor my presentation is, so I haven't included it), but it isn't exactly like the diagram in the solution. The solution appears to have a force of 60N leading AWAY from P, rather than towards it (i'll show you what I mean in a screenshot).
In every other regard, for practical purposes, my diagram is the same as the one in the solution, except that I have the 60N arrow drawn the opposite way to the diagram in the solution(and the direction of acceleration to match it). This in itself is something I am "stuck" on, as I am confused as to why this is the case.
Naturally, I used F=ma, but ended up with m=30, when I know m should really be 10(as I checked my answer in the solution afterwards)
Also, why is T not factored into the equation F=ma? Or is this just because F would be 60+T-T, and therefore the two Ts in opposite directions cancel each other out?