GMBP Capital interview question

some question about math