Вы ввели
2 - tan(x)
2 - tan(x)
2 - tan(x)
2 - tan(x)
$$- \tan{\left (x \right )} + 2$$
$$- \tan{\left (x \right )} + 2$$