p+3w=-79
-5p+w=-5
Multiply the second equation by 3 and then subtract the second equation:
p + 3w = -79
-
-15p + 3w = -15
_____________
16p = -64
p= -64/16
p= -4
Replace p on any equation and solve for w
-4 + 3w = -79
3w = -79 + 4
3w = -75
w= -75/3
w= -25
Solution:
p= -4
w= -25