Precalculus Examples

Evaluate the Function -2x+y=0 , x<=0
I am unable to solve this problem.