0.5x+(5x+20)*0.5=298 x