Problem

Source: 2020 Turkey TST P2

Tags: geometry, perimeter



$A_1A_2A_3A_4$ is a tangential quadrilateral with perimeter $p_1$ and sum of the diagonals $k_1$ .$B_1B_2B_3B_4$ is a tangential quadrilateral with perimeter $p_2$ and sum of the diagonals $k_2$ .Prove that $A_1A_2A_3A_4$ and $B_1B_2B_3B_4$ are congruent squares if $$ p_1^2+p_2^2=(k_1+k_2)^2 $$