If n is the number of machines that are set up, this means that there are n days over 20 due to the setup.
Hence, there are 20-n days left to the n machines to produce their shirts. Let X be the number of t-shirts produced.
There are n machines working during 20-n days to produce 200 shirts per day. Therefore :
Since each shirt is sold 18$,