when dealing with distance on the number line, "absolute values" is one of the first things that should come to mind.

here we want to find all x such that

|x - 13| = 3|x - 5|

that is, the distance from x to 13 is 3 times the distance from x to 5

just solve this equation for x now