20*X+30*3X+70*(50-X-3X)=1800