\(\begin{array}{l}A - B = \left( {5{x^2}y + 5x - 3} \right) - \left( {xy - 4{x^2}y + 5x - 1} \right)\\ = 5{x^2}y + 5x - 3 - xy + 4{x^2}y - 5x + 1\\ = \left( {5{x^2}y + 4{x^2}y} \right) - xy + \left( {5x + 5x} \right) + \left( { - 3 + 1} \right)\\ = 9{x^2}y - xy + 10x - 2\end{array}\)