https://medium.com/street-science/how-to-really-solve-the-straight-lines-and-triangles-puzzle-a34ec23a120e