Given that
25a2+b2−10ab−49
= (5a)2+b2−10(5a−b)
=(5a−b)2−72
=(5a−b−7)(5a−b+7)
Factorise 25a2−4b2+28bc−49c2