Guardian Life interview question

Given test