Sounds like homework. How far have you got and where are you stuck?