Please help me understand this question, i’ve been struggling with this for 10minutes!

Given that, for x>3, f(x)=-1.
Therefore, f(5)=-1.
Also, given that for x=3, f(x)=-2x+2
Therefore,
[tex]\begin{gathered} f(3)=-2(3)+2 \\ f(3)=-6+2 \\ f(3)=-4 \end{gathered}[/tex]Therefore, f(3)=-4.