Answer:
[tex]y=24[/tex]
Step-by-step explanation:
Given:
[tex]y=kx[/tex]
Substitute:
[tex]\left \{ {{y=12} \atop {x=2}} \right.[/tex] into [tex]y=kx[/tex]
[tex]12=k\times2[/tex]
Swap the sides:
[tex]k\times2=12[/tex]
Divide both sides of the equation by the coefficient of variable:
[tex]k=\frac{12}{2}[/tex]
Cross out the common factor:
[tex]k=6[/tex]
Find the equation of the function:
[tex]y=6x[/tex]
Substitute:
[tex]y=6\times4[/tex]
Calculate the product or quotient:
[tex]y=24[/tex]