Q: Frankie's parents let him have many pets. He has six more snakes than he has cats. He has one less parrot than cats. Six of his pets have four legs. He has 2 dogs. How many pets does he have in total?
A: He has 6 - 2 = 4 cats. He has 4 - 1 = 3 parrots. He has 4 + 6 = 10 snakes. He has a total of 2 + 4 + 3 + 10 = 19 pets. The answer is 19.

Q: George was selling some of his old toys on the internet. He managed to sell 3 little cars and a set of Legos. In total, he earned $45. How much did the Legos set cost, if one little car was sold for $5?
A: George sold 3 cars, so he earned 3 cars * $5 / car = $15 from them. The lego set cost was then $45 - $15 = $30. The answer is 30.

Q: Ken had fifty pencils, and he wanted to share some of them with his two friends, Manny and Nilo. Ken gave ten pencils to Manny and ten more pencils to Nilo than he gave to Manny. He kept the rest of the pencils. How many pencils did Ken keep?
A:
Nilo received 10 + 10 = 20. Thus, Ken gave a total of 10 + 20 = 30. Therefore, Ken kept 50 - 30 = 20 pencils. The answer is 20.