Rahim has 5 boxes of sweets.Each box contains y sweets.His teacher gives him another 8 sweets.

(a) Find the total number of sweets Rahim has in terms of y.
(b) If y=4,how many sweets does Rahim have altogether?

a. 5y + 8

b. substitute 4 for y.

Good

(a) To find the total number of sweets Rahim has in terms of y, we need to first calculate the number of sweets he has in the 5 boxes. Since each box contains y sweets, the total number of sweets in the boxes is 5y.

Next, we add the additional 8 sweets his teacher gave him to the total number of sweets in the boxes. Thus, the total number of sweets Rahim has can be expressed as: 5y + 8.

(b) To find how many sweets Rahim has altogether when y = 4, we substitute y = 4 into the equation we determined in part (a).

Total number of sweets = 5y + 8
Substituting y = 4 into the equation, we get:
Total number of sweets = 5(4) + 8 = 20 + 8 = 28

Therefore, if y = 4, Rahim has 28 sweets altogether.