Hello. From my calculator, I know that this is a true equality:

However, I simply cannot come up with the method used to "simplify" the first expression to arrive at the second expression (or vice versa). Could someone demonstrate or explain what I am missing?