I have some pencils and some jars.
If I put 4 pencils into each jar I will have one jar left over.
If I put 3 pencils into each jar I will have one pencil left over.
How many pencils and how many jars?

Puzzle 2

Again I have some pencils and some jars
If I put 9 pencils into each jar I will have two jars left over
If I put 6 pencils into each jar I will have three pencils left over
How many pencils and how many jars?

Stuck ?

The first one is quite easy.
The second question is more involved.
You will probably need to create an algebraic expression for each statement in the problem.
Solve the equations and you have your answer.