(i) Riya replaced the letter-numbers correctly, but she worked out 3−(−2) as 1, as if it were 3−2. Taking away −2 is the same as adding 2, so 3−(−2)=3+2=5. (On the picture, floor 3 is 5 floors above floor −2, not 1.)
Kabir multiplied only f by 6. In 6(f−g) the 6 multiplies the whole bracket, so by the distributive property 6(f−g)=6f−6g. He wrote 6f−g instead.
(ii) Replace f by 3 and g by −2:
f−g=3−(−2)=3+2=5
6(f−g)+10=6×5+10=30+10=40
The trip takes 40 seconds. (Opening the bracket gives the same: 6×3−6×(−2)+10=18+12+10=40.)
(iii) Now f=4 and g=−3:
6(f−g)+10=6×(4−(−3))+10=6×7+10=52
The trip takes 52 seconds.
Check by counting: from floor −3 the lift goes up to −2, −1, 0, 1, 2, 3 and 4. That is 7 floors, taking 7×6=42 seconds, and with 10 seconds for the doors, 42+10=52 seconds.