Does anyone have some code that i could look at, I have tried but keep getting stuck

tia