solve LayoutAssignment1