Find the cartesian equation of the locus of the set of points of $P$. $P$ is at a constant distance of five units from the line $4x-3y=1$
I don't have much intuition on how to solve this one. However, I've done a bit of research online and have found a formula which can apparently help me solve this type of problem:
$$\text{Distance} = \frac{\left | Ax_{1} + By_{1} + C\right |}{\sqrt{A^2 + B^2} }$$
Problem is I don't quite understand this formula yet cause my textbook hasn't got any chapters on it. And I don't think the textbook would assume prior knowledge of this formula either. This makes me think that there must be a way to solve the problem without the formula.
The book gives the answers as $4x-3y=26$ and $4x-3y+24=1$
Hints/guidance on how to solve this problem especially ones without using the formula would be much appreciated.

The locus is clearly given by two lines, parallel to $l:4x-3y=1$, with distance $5$ from $l$.
The line $4x-3y=1$ goes through $(1,1)$. The squared distance of $(1,1)$ from the line $4x-3y=c$ is given by: $$ \frac{(4-3-c)^2}{4^2+3^2} $$ so we just need to solve $|1-c|=25$ to find the values of $c$ corresponding to our two lines.