Since I have to solve for the intersection of the inset lines, I decided it was simpler to have another equation for the inset lines. This involves also finding the sign for the orientation of the triangle, since otherwise the inset lines won't always be inside.
I know that there are simpler ways of scaling a polygon, but here I want the inset to be by a fixed amount, not a proportion of the distance to the center.