Layla emptied out her change jar to buy a new binder for school. She found 147 coins consisting of dimes and nickels that totaled $11.65. Write a system of equations that could be used to determine how many dimes, d, and how many nickels, n, Layla had in her change jar.