Help! Explain please I need to know I have a test tomorrow!

[tex]25 {x}^{2} - 49 {y}^{2} [/tex]
[tex] {a}^{2} - {b}^{2} = (a + b)(a - b)[/tex]
[tex]a = 5x[/tex]
[tex]b = 7y[/tex]
[tex]25 {x}^{2} - 49 {y}^{2} [/tex]
[tex] = (5x - 7y) {}^{2} [/tex]
[tex] = (5x - 7y)(5x + 7y)[/tex]
hence, the correct answer is option B