please answer quickly no explanation needed just a STRIGHT answer to the question

Given:
Graph passing through (0,-2) and(1,0).
To find:
Equation satisfying the graph.
Explanation:
[tex]\frac{x}{a}+\frac{y}{b}=1[/tex]Solution:
From graph we can write intercept form as:
[tex]\begin{gathered} \frac{x}{1}+\frac{y}{-2}=1 \\ y-2x=-2 \end{gathered}[/tex]Hence, option B is correct.