8 Blocks Capital Interview Question

basic mental math and some probability