A straight line through the point `(3,4)` makes an angle of `45°` with the positive direction of the `x`-axis. Find the distance from the point `(3,4)` to the point where this straight line intersects the straight line `y=5x+1`.