How do you prove #(cosA+cosB)^2+(sinA+sinB)^2=4*cos^2((A-B)/2)#? 2) ?

#(cosA+cosB)^2+(sinA+sinB)^2=4cos^2((A-B)/2)#