A+b=-3, a=-3-b
ab=-35, and using a from above we get:
(-3-b)b=-35
-3b-b^2=-35
b^2+3b-35=0
b≈-7.6033 and 4.6033
So the two numbers are approximately -7.6033 and 4.6033
-6p+8p=-16+4p
Combine like terms
2p=-16+4p
-4p -4p
-2p=-16
/-2 /-2
P=8
29,45,46,48,54,54,62,71
the median is the middle number, so it would be 51