(i) The ride is 9 km: the first kilometre and 8 more. The fare is 30+8×15 rupees, and the whole fare is shared by 3 people:
(30+8×15)÷3=(30+120)÷3=150÷3=50
Each person pays ₹50.
(ii) Without brackets the expression has two terms, 30 and 8×15÷3. The second term is 120÷3=40, so
30+8×15÷3=30+40=70
This divides only the charge for the 8 extra kilometres among the 3 friends and makes each of them pay the full ₹30 for the first kilometre. Three shares of ₹70 make ₹210, but the fare is only ₹150. The brackets make the whole fare one quantity, so that all of it is divided by 3.