Answer:
The total number of students in a survey is 300.
Let the number of junior male(JM) be x and the number of senior males(SM) be y.
Let the number of junior female(JF) be p and the number of senior males(SF) be q.
It is given that there are 160 males, 80 junior females, 130 seniors.
Since number of males are 160. So the number of females are,
![300-160=140](https://tex.z-dn.net/?f=300-160%3D140)
Since number of junior females is 80.
![JF+SF=140\\80+SF=140\\SF=60](https://tex.z-dn.net/?f=JF%2BSF%3D140%5C%5C80%2BSF%3D140%5C%5CSF%3D60)
Since number of seniors are 130.
![SM+SF=130\\SM+60=130\\SM=70](https://tex.z-dn.net/?f=SM%2BSF%3D130%5C%5CSM%2B60%3D130%5C%5CSM%3D70)
Since number of males is 160.
![JM+SM=160\\JM+70=160\\JM=90](https://tex.z-dn.net/?f=JM%2BSM%3D160%5C%5CJM%2B70%3D160%5C%5CJM%3D90)
Therefore, the table and venn diagram is shown below.
X=100 because 20 X 5 is 100
The equation of a line starting from two points is:
![y-y_1=\frac{y_2-y_1}{x_2-x_1} \cdot (x-x_1)](https://tex.z-dn.net/?f=y-y_1%3D%5Cfrac%7By_2-y_1%7D%7Bx_2-x_1%7D%20%5Ccdot%20%28x-x_1%29)
From the first point you get: x1 = -1, y1 = -2
From the second point you get: x2 = 3, y2 = 10
Replace x1, y1, x2, y2 in the equation of the line and you get:
![y+2=\frac{10+2}{3+1} \cdot (x+1)](https://tex.z-dn.net/?f=y%2B2%3D%5Cfrac%7B10%2B2%7D%7B3%2B1%7D%20%5Ccdot%20%28x%2B1%29)
![y+2=\frac{12}{4} \cdot (x+1)](https://tex.z-dn.net/?f=y%2B2%3D%5Cfrac%7B12%7D%7B4%7D%20%5Ccdot%20%28x%2B1%29)
![y+2=3 \cdot (x+1)](https://tex.z-dn.net/?f=y%2B2%3D3%20%5Ccdot%20%28x%2B1%29)
From this you get the equation of your line: