Math Escape

Can you crack the codes to open all the locks ?