Can someone please tell me how to get from that to that? Is it factorization or something? I’m really dumb

Can someone please tell me how to get from that to that Is it factorization or something Im really dumb class=