Ambra Health Interview Question

A couple math problems