Looks like it is your exercise. Maybe you better make your own try and provide the result here for some criticism?