What is the equation of the straight line obtained by rotating the line 2x-y-4 = 0 counterclockwise around its intersection with the X axis?

What is the equation of the straight line obtained by rotating the line 2x-y-4 = 0 counterclockwise around its intersection with the X axis?

The straight line 2x-y-4 = 0, that is, y = 2X-4, the slope is K1 = 2, and the intersection point with the X axis is the point (2,0)
The slope of the straight line obtained by rotating π / 4 counterclockwise is
k=(k1+tan(π/4))/(1+k1*tan(π/4))=(2+1)/(1-2*1)=-3
And because the straight line passes (2,0)
So the linear equation is y = - 3 (X-2), that is, 3x + y-6 = 0