write the equation in function form then graph the equation

3x-y=5