\(\left(7x+1\right)^2-\left(x+7\right)^2=\left(7x+1\right).\left(7x+1\right)-\left(x+7\right)\left(x+7\right)=\left(49x^2+7x+7x+1\right)-\left(x^2+7x+7x+49\right)\)\(=49x^2+14x+1-x^2-7x-7x-49=\left(49x^2-x^2\right)+\left(14x-7x-7x\right)-\left(49-1\right)=48x^2-48=48.\left(x^2-1\right)\)