Wayfair interview question

Output some things in a given format using basic OOP problem-solving skills