In a regular triangle ABC with side 1, two squares MNKL, RKPT are drawn such that points M, L, R are on the side AC (the order o
f the points on that side is as follows: A, M, L, R, C). Points P, T are on the side BC (the order of the points on that side is as follows: B, P, T, C). And the point N is on the side AB. Find the lengths of the sides of the two squares.