In rectangle ABCD, point L lies on diagonal
BD
. Points K and M lie on segments
BC
and
CD
respectively. It ends up that quadrilateral LKCM is a square. Given AD = a and AB = b, find the length of the side of square LKCM.