VF interview question

How I would have approached my role