17 + 5shirts = 42
5shirts = 42-17 = 25
1shirt = 25/5 = 5
A shirt costs £5.
3*5 + 1hat = 17
15 + 1hat = 17
1hat = 2
A hat costs £2
Answer:
See below.
Step-by-step explanation:
So we started off with the equation:

And we subtracted x from both sides to acquire:

Now, this is essentially slope-intercept form. Recall that the slope-intercept form is:

Where m is the slope and b is the y-intercept.
If we rearrange our equation:

And put some parentheses:

We can see that this is indeed slope-intercept form.
And we can see that m is -1 and b is 2.
In other words, the slope is -1 and the y-intercept is 2.