Subway interview question

Calculate this problem for me

Interview Answer

Anonymous

Jan 7, 2021

Worked it out