The preparation of KClO3 follows these equations:

2KMnO4 + 16HCl->2KCl + 2MnCl2 + 5Cl2 (g) + 8H2O

3Cl2 (g) + 6KOH ->KClO3 + 5KCl + 3H2O

1) How many moles of KClO3 are produced by one mole of KMnO4

I think the only link between the two equations is Cl2 but I don't understand how to solve this problem
Thanks for the help