1) The best way to tackle this is to write a system of linear equations.
2) So we can write out the following:
So now, let's solve it via the Substitution Method, picking the 2nd equation and plugging it into the first one:
3) Now, that we know how many dimes Jesse has, let's figure out how many nickels by plugging into one of those equations, (usually the simplest one) the number of dimes we have just found: