How would you determine the number of eggs and 15 cartons cartoons

Solution:
Where
x represents cartons
y represents number of eggs
And
[tex]\begin{gathered} Where \\ x=2,y=24 \\ (x_1,y_1)=(2,24) \\ x=3,y=36 \\ (x_2,y_2)=(3,36) \end{gathered}[/tex]Applying the equation of a straight line formula
[tex]\begin{gathered} \frac{y-y_1}{x-x_1}=\frac{y_2-y_1}{x_2-x_1} \\ \frac{y-24}{x-2}=\frac{36-24}{3-2} \\ \frac{y-24}{x-2}=\frac{12}{1} \\ y-24=12(x-2) \\ y-24=12x-24 \\ y=12x-24+24 \\ y=12x \end{gathered}[/tex]If the number of cartons is 15, i.e. x = 15, the number of eggs, y, will be
[tex]\begin{gathered} y=12x=12(15)=180 \\ y=180 \end{gathered}[/tex]Hence, the number of eggs, y, is 180