$Recall that the lines are $E=hf-W_M$, where $W_M$ is the work function of the metal $M$. Note that all metals thus have the same slope for the line, and the only difference is the vertical intercept, which is determined by the metal's work function $W_M$.$
$For a metal $M$, let $f_{0, M}$ be...