Hello mj.alawamiThis is best solved using Bow's Notation. There are some worked examples here.
Read these notes through - there are some questions and their answers that you could try. Then try your own question. If you can't get it to work, get back to us, and we'll get you started.
Grandad