Solution
Given the function below
[tex]y=-2x+1[/tex]The slope-intercept form of an equation of a straight line is
[tex]\begin{gathered} y=mx+b \\ \text{Where m is the slope and b is the y-intercept} \end{gathered}[/tex]Relating both equations,
[tex]\begin{gathered} m=-2 \\ b=1 \end{gathered}[/tex]The y-intercept, b, is at x = 0, and b = 1
The slope is -2. The y-intercept is (0, 1)
Hence, the answer is option B