Option (A) is correct.
Explanation:
Money left = week 1 + week 2 − book:
(5x+20)+(3x−15)−(2x+10)
The minus sign outside the last bracket changes both terms inside it:
5x+20+3x−15−2x−10
Group the like terms:
(5+3−2)x+(20−15−10)=6x−5
Check with x=20: she has 120+45−50=115 rupees, and 6×20−5=115.
Why the other options are wrong
- (B) 6x+15 changes the sign of 2x but not of 10, as if −(2x+10)=−2x+10.
- (C) 10x+15 adds the cost of the book instead of taking it away.
- (D) 6x−45 takes the ₹20 gift as −20 instead of +20.