I have some sad news for you.
You should never mix old sprockets and chains with new or second hand ones.
They marry for life, and do not take kindly to another partnership.
A new sprocket will quickly wear/stretch or break an old chain.
A new chain on an old sprocket can be completly stuffed in a few miles.
Rule of thumb, always replace the whole set, chain, front and back sprockets.