While doing his homework, Alex spent 32% of his time doing doing math. If he spent 50 minutes doing his homework, how many minutes did he spend on math?