solve LayoutAssignment3 final