Step-by-step explanation:
Concept:
The value of y varies directly with x can be represented below as
![\begin{gathered} y\propto x \\ y=kx \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/6d4u6j1uti0vfqmd3ea5tvi29rnz2ljk6s.png)
Step 1:
Calculate the value of k by putting x=10 and y=2
![\begin{gathered} y=kx \\ 2=10k \\ divide\text{ both sides by 10} \\ (10k)/(10)=(2)/(10) \\ k=(1)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/yu50fl9euajkb47yqwkxcitmpq70wf59na.png)
Step 2:
Form the equation connecting y and x below as
![\begin{gathered} y=kx \\ y=(1)/(5)x \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2gpxzsqv1bq7rcczo7x5jq3okxt3gm01dp.png)
Step 3:
Fin the value of x when y=7
![\begin{gathered} y=(1)/(5)x \\ 7=(x)/(5) \\ x=7*5 \\ x=35 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/oik0pmm8zvrqsamd3gapsjsr5c9wki5jqc.png)
Hence,
The final answer is
![x=35](https://img.qammunity.org/2023/formulas/mathematics/college/nuc9d622be56m804rmyoux93mwyeirrson.png)