Intersection of lines that don't intersect

By the way, i need to find these points to be able to lengthen these lines to the lines of the square.