You factor the numerator and denominator and cancel the common factors. So maybe that should help you

So y=2x is the only answer that fit y=kx, while k=2
<em>So</em><em> </em><em>the</em><em> </em><em>right</em><em> </em><em>answer</em><em> </em><em>is</em><em> </em><em>1</em><em>2</em><em> </em><em>m</em><em>.</em>
<em>Look</em><em> </em><em>at</em><em> </em><em>the</em><em> </em><em>attached</em><em> </em><em>picture</em>
<em>H</em><em>ope</em><em> </em><em>it</em><em> </em><em>will</em><em> </em><em>help</em><em> </em><em>you</em><em>.</em><em>.</em>
<h3>
<em>Good</em><em> </em><em>luck</em><em>.</em><em>.</em><em>.</em></h3>
<em>-Pragya~</em><em>~</em>