Canoo Interview Question

Answer the following react question: