Freddie Mac Interview Question

Can you find the missing logic?