X could be the positive integers 2, 3, 4, or 5
The slope is -7. It's a y=mx+b equation where the m value is the slope.
First they have to decide on a pair of pants and they have 8 different choices. For each of those choices they have a choice of 5 different shirts, so that gives them 8 times 5 = 40 different pant/shirt combinations. For each those 40 possibilities, they have 3 different ties they could select, so altogether they have 40 times 3 = 120 different outfits.
Standard form is ax+by=c
mnus 7y both sides
6x-7y=0