Brandon has a cup of quarters and dimes with a total value of $4.15. The number of quarters is five less than two times the number of dimes. How many quarters and how many dimes does Brandon have?