Explanation:
Concept:
The value of y varies directly with x can be represented below as
[tex]\begin{gathered} y\propto x \\ y=kx \end{gathered}[/tex]Step 1:
Calculate the value of k by putting x=10 and y=2
[tex]\begin{gathered} y=kx \\ 2=10k \\ divide\text{ both sides by 10} \\ \frac{10k}{10}=\frac{2}{10} \\ k=\frac{1}{5} \end{gathered}[/tex]Step 2:
Form the equation connecting y and x below as
[tex]\begin{gathered} y=kx \\ y=\frac{1}{5}x \end{gathered}[/tex]Step 3:
Fin the value of x when y=7
[tex]\begin{gathered} y=\frac{1}{5}x \\ 7=\frac{x}{5} \\ x=7\times5 \\ x=35 \end{gathered}[/tex]Hence,
The final answer is
[tex]x=35[/tex]