Find the ordered triple (p,q,r) that satisfies the following system:
p - 2q = 3
q - 2r = -2 + q
p + r = 9 + p
The solution is p = -7, q = 13, r = 10.