FDM Group interview question

Explaining how to derive a problem using codes.