Example 2 Let $x, y$ be real numbers. Then the minimum value of the algebraic expression
$$
2 x^{2}+4 x y+5 y^{2}-4 x+2 y-5
$$

is $\qquad$ [1]
(2005, National Junior High School Mathematics League Wuhan CASIO Cup Selection Competition)