Note Value Math. I am new to music and am completely lost with the whole math side of it. Wondering how I solve this mainly the bottom of the page? Also if you could explain that would help with the confusion a lot!!

Thanks!!