VF Interview Question

How I would have approached my role