If tomorrow is wednesday, today is tuesday.
A week has 7 days " Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ".
27 / 7 = 3 ( Remainder = 6)
So you can say that after multiples of 7 days, the day will repeat itself as tuesday.
Hence after 21 days tuesday will occur again.
So we calculate after the remainder (6) , the answer is Monday.
Simple Logic = And whatever the remainder obtained is, add that to the day.