x - ilość biletów ulgowych
x * 14 zł - dochód z biletów ulgowych
302 * 18 zł - dochód z biletów normalnych
x * 14 zł + 302 * 18 zł = 9468