Keyence Interview Question

MCQ math test but need working