(i) Saturday's rooms
Counting rooms:
d+s=45⋯(1)
Counting guests (2 in each double, 1 in each single):
2d+s=75⋯(2)
Subtract (1) from (2):
d=30⇒s=45−30=15
Answer: 30 double rooms and 15 single rooms.
(ii) Saturday's earnings
2500×30+1500×15=75000+22500=₹97,500
(iii) Sunday's guests
d+s=50⋯(3)
2500d+1500s=105000
Dividing by 500:
5d+3s=210⋯(4)
Multiply (3) by 3 and subtract from (4):
5d+3s−(3d+3s)=210−150
2d=60⇒d=30,s=20
Guests: 2×30+1×20=80.
Answer: 80 guests stayed on Sunday.
Check: 2500(30)+1500(20)=75000+30000=₹1,05,000 ✓
(iii) OR — Why 40 rooms cannot earn ₹1,05,000
d+s=40,5d+3s=210
Multiply the first by 3 and subtract:
2d=210−120=90⇒d=45
s=40−45=−5
A negative number of rooms is impossible.
Another way to see it: even if all 40 rooms were doubles, the most the hotel could earn is 40×2500=₹1,00,000, which is less than ₹1,05,000.