Which relation is a function?

A.
{–2, 10), (–6, 10), (–2, 3)}


B.
{(–5, 1), (4, 9), (6, 10)}


C.
{(5, 5), (5, 9), (5, 15)}


D.
{(0, 3), (0, 9), (12, –4)}