How do you simplify trigonometric functions like $\tan(x)\sec(x)$ or $\csc(x)\cot(x)$ as well as other equations like $\frac{\tan(x)}{\sec(x)}$ and so on? And could you explain why you are doing the steps so I can understand it a little better and be able to do these on my own. What about $\sec(x)\cot(x)$?
Thank you.

If you are just working with functions like $\sin$, $\cos$, $\tan$, $\csc$, ... then a good way( at least for a beginner) is to write out all functions in as ratios of $\sin$ and $\cos$. For instance, if you had to simplify $\frac{\tan(x)}{\sec(x)}$, you can write it as $$\large\frac{\frac{\sin(x)}{\cos(x)}}{\frac{1}{\cos(x)}}$$
$$\large\require{cancel}{\frac{\frac{\sin(x)}{\cancel{\cos(x)}}}{\frac{1}{\cancel{\cos(x)}}}}$$
$$\sin(x)$$
With time and practice you will get better and learn to do it without breaking it down this explicitly.