Mike has some coins in his pocket consisting of dimes, nickels, and pennies. He has two more nickels than dimes, and three times as many pennies as nickels. How many of each kind of coins does he have if the value is 52 cents? What is the variable and equation?