Which graph shows a function and its inverse?

A.
A diagonal curve descends through (negative 10, 3 point 5), (negative 8, 3), (8, 1), and (10, 1 point 5). A curve descends through (1, 6), (negative 1, negative 2), and (negative 2, negative 6). Both the curve intersects at (negative point 5, 1).
B.
A diagonal curve descends through (negative 7, 9), (negative 4, 6), and (10, negative 8). A curve descends through (10, negative 3), (negative 2, negative 6), and (1, negative 6). Both the curves intersect at (negative 1 point 5, 3 point 5).
C.
A diagonal curve descends through (negative 2, 6), (5, negative 1), and (3, negative 7). A diagonal curve rises from (negative 2, negative 10), (negative 1, negative 7), (3, 5), and (4, 8). Both the curves intersect at (1, negative 1).
D.
A diagonal curve descends through (negative 8, 6), (negative 4, 5), and (8, negative 1). A diagonal curve descends through (negative 1, 8), (2, 2), (5, negative 4), and (7, negative 8). Both curves intersect at (2, 2).

The graph that shows a function and its inverse is B.

In option B, both the diagonal curve and the descending curve intersect at (-1.5, 3.5). This indicates that the diagonal curve represents the function and the descending curve represents its inverse. Additionally, the diagonal curve descends through (-7, 9) and (10, -8), while the descending curve descends through (10, -3) and (1, -6), which further supports the representation of a function and its inverse.