0.5x+0.4(15-x)=7