Start by finding the slope, which will be the hourly rate the electrician charges using the formula
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
use points (2,250) and (5,430)
replace in the formula
[tex]\begin{gathered} m=\frac{430-250}{5-2} \\ m=\frac{180}{3} \\ m=60 \end{gathered}[/tex]
now, use of the points to find the set fee using
[tex]\begin{gathered} C=mt+b \\ C=60t+b \end{gathered}[/tex]
use point (6.5,520)
[tex]\begin{gathered} 520=60\cdot(6.5)+b \\ 520-390=b \\ 130=b \end{gathered}[/tex]
The set fee is $130