Kaimi had no money at all when he cashed his paycheck. As he left the bank, he bought a piece of candy for a nickel from a machine. Later, he realized that the money in his pocket was equal to twice his paycheck. After a quick calculation, he figured out what happened:the teller accidentally switched the dollars and cents. How much was Kaimi supposed to be paid, and what did the teller give him?