Rope Q is 12 m longer than Rope P. Rope W is twice as long as Rope P .

The total length of the three ropes is 36 m.
What is the length of Rope P ?

q = p+12

w = 2p
p+q+w = 36

p + p+12 + 2p = 36
p = 8