The solution for the given set of equations is s=28 and p= -35.
<u>Step-by-step explanation</u>:
The given system of equations are:
2p + 4s = 42 and
4p + 10s = 140
To solve for p and s values,
<u>step 1</u>: Multiply the first equation by 2 on both sides. The equation becomes,
4p + 8s = 84
<u>step 2</u>: Subtract the second equation from the first equation.
4p + 8s = 84
<u>-4p - 10s = -140</u>
<u> - 2s = -56</u>
<u>step 3</u>: The value of s = -56/-2 = 28
<u>step 4</u>: substitute s=28 in the first equation. 2p + 4(28) = 42
2p = 42 - 112
p= -70/2 = -35
Therefore, the value of s=28 and p= -35.