Implement linear layout practice for intermediate