What is the greatest common factor of the terms in the expression 21x-18x+28xy?
A.3
B.3x
C.x
D.xy
A.3
B.3x
C.x
D.xy