Step-by-step explanation:
Concept:
The value of y varies directly with x can be represented below as

Step 1:
Calculate the value of k by putting x=10 and y=2

Step 2:
Form the equation connecting y and x below as

Step 3:
Fin the value of x when y=7

Hence,
The final answer is
