Joe has some five-cent and ten-cent coins. These coins have a total value of $0.40. There are 2 more five-cent coins than ten-cent coins. How many five-cent coins does Joe have?