Once I challenged my neighbor for a game of chess everyday for an entire month consisting of 31 days. It was decided that whoever won after every match would be entitled to get $2 dollars from the loser and the entire money won would be paid at the end of the month. At the end of the month, my neighbor paid me a balance amount of $38 dollars. He had won 5 matches.

How many matches did I win and how many ended in draw?