DXC Technology interview question

How would I go about certain tasks