How do you find the slope of y=2x-1?

Use the slope-intercept form to find that slope = 2.

Explanation:

This equation of a line is in slope-intercept form, where:

$y = m x + b$

where $m$ is slope and $b$ is the y-intercept.

In this case, $m = 2$