Precalculus Examples

Solve the Function Operation 3x+y=0 , x>=0
I am unable to solve this problem.