Jax buys a toy for 2 dollars and 20 cents and a pencil for 50 cents. He pays a total of dollars and cents.