I think you've perhaps missed the point of this forum. We HELP you to get YOUR code working. We don't just do your project for you with you not bothering to put in any effort.
You said you had two sketches you wanted to combine. So post the two sketches and the best attempt you have made to combine them and we'll HELP you to get the combined code working. But if you have done nothing then we're not going to do anything either.
Steve