Respuesta :

the function would be 3d-8=x
to solve
3*50-8=x
150-8=x
142=x
she has 142 cookies left