Blue Yonder interview question

solution given by you with approx figures