(1)设租用45座汽车x辆,依题意45x=60(x-2)+30,解得x=6,因此共有学生45*6=270人.
(2)设租用45座汽车a辆,租用60座汽车a+1辆
45a+60(a+1)≥270
250a+300(a+1)