Problems involving triangles and lines