Answer
Thus,
$2x^2y$ and $5x^2y$ are like terms.
Work Step by Step
RECALL:
In a polynomial, like terms are terms that have exactly the same variables and variables' exponents.
Examples:
$2xy, 5xy$;
$2x^2, 3x^2$;
$3x^2yz, -9x^2yz$
Thus,
$2x^2y$ and $5x^2y$ are like terms.