#24) I believe and expression to represent the number of pencils could be :
15(4) + 32(2) = x
Where the variable x represents the pencils.
#25) y = 18
In this case, when x = 6 and y = 12, y is equal to x times 2. We then apply this rule to when x = 9. 9 times 2 is 18.