Which statement correctly compares the two functions?
A. They have the same x- and y-intercepts.
B. They have the same x-intercept and the same end behavior as x approaches ∞.
C. They have different x- and y-intercepts but the same end behavior as x approaches ∞.
D. They have the same y-intercept and the same end behavior as x approaches ∞.