Answer:
Number of cookies bought by Timothy for $ 5 = 10 cookies
→ $1 = 2 Cookies
Here, x = Number of cookies
$y = Total cost of cookies purchased
→10 x cookies = $ 5 y
→ x cookies = $

→ y = 2 x
So, Number of cookies and it's price represents equation of line in two variable in two dimensional coordinate system, passing through origin.
Slope of line = 2, which represents that in $ 1 you get two cookies.