Your answer for your problem
Answer: 132 handshakes in total
Step-by-step explanation: 11x12 because one of them will be the one shaking hands with everyone else so he would have gotten 11 hands shaked so everyone would have gotten their hands shaked 11 times
Knowing that cos(45°) = 1/√2 is the way forward.

The last step in the equation may not be obious, but the trick here is to multiple numerator and denominator with (1-√2), then the denominator has the special product (a+b)(a-b) = a²-b².