LTM Limited interview question

Example where foreign key and primary key are present in the same table