GMBP Capital Interview Question

some question about math