Rydberg equation as a line equation?

i have no idea how to do this.

The Rydberg equation (1=Rni 2–Rnf 2) can be treated as a line equation. What is the value of nf as a function of the slope (m) and y-intercept(b)?
A. (mb)^1/2
B. (–mb)^1/2
C. (mb)^1/2
D. mb
E. –mb^2
F. None of these are correct.
3 answers 3