In rectangle MNPQ with side MN = 16 in, point L is the midpoint of PQ and m∠QLM = 45°. Find the perimeter of the rectangle.