A line \(L\) passes through the point of intersection of the lines \(3x+y-10=0\) and \(x-y-2=0\). If the perpendicular distance of the line \(L\) from the point \((5,1)\) is exactly \(\dfrac{2}{\sqrt{5}}\) units, which of the following represents the equation of line \(L\)?