Triangular intersection

What is the largest number of intersection points that a triangle and a quadrilateral can have?

Problem



The triangle and the quadrilateral in the diagram below have 4 intersection points.

Image
Triangular intersection


What is the largest number of intersection points that a triangle and a quadrilateral can have?

This problem is adapted from the World Mathematics Championships