Which of the following represents a function?
A. x2 + y2 = 16 B. y = 3x + 9 C. x + y2 = 10 D. 2x2 + y2 = 8