$$25 \tan^{2}{\left(x \right)} + 25$$
/ 2 \
50*\1 + tan (x)/*tan(x)
$$50 \left(\tan^{2}{\left(x \right)} + 1\right) \tan{\left(x \right)}$$
/ 2 \ / 2 \
50*\1 + tan (x)/*\1 + 3*tan (x)/
$$50 \left(\tan^{2}{\left(x \right)} + 1\right) \left(3 \tan^{2}{\left(x \right)} + 1\right)$$