The equation 24x-582 = 17y relates the amount of money made from the main floor and balcony tickets. Why is 5824 subtracted from 24x?