设长途车票x张,所以,短途车票50-x张得:8x-3*(50-x)=238化简:8x-150+3x=238合并同类项:11x=388所以:x≈35.6得长途车票36张,短途车票14张(因为车票没用半张)
设长途车票乘客有x人,8x-3×(50-x)=238, 8x-15+3x=238, 11x-15+15=238+15, 11x÷11=253÷11, x=23则短途车票为50-23=27