Assignment:
The figure above has been divided into nine squares, the smallest one, darkly shaded, has sides of length one and the lightly shaded square has sides of length x. Determine x and also determine the perimeter of the large figure.
Provide complete and step by step solution for the question and show calculations and use formulas.