Grazitti Interactive interview question

some basic questions about patterns