Xiao Jiang, Xiao Qing and Xiao Tao share a suite, and the rent is 360 yuan every month. Xiao Jiang stayed for 20 days, Xiao Qing for 10 days, and Xiao Tao for 30 days. How do they share the rent?

Solution: pay x yuan a day.

20x+10x+30x = 360x (20+10+30) ÷ 30 gives x= 12.

So Xiaojiang: 20× 12=240 yuan.

Xiaoqing: 10× 12= 120 yuan.

Xiao Tao: 30× 12=360 yuan.