Answer:
After wearing blue shirts on Monday, Tuesday, and Wednesday, there are 2 blue shirts remaining in the closet.
There are a total of 13 - 3 = 10 shirts remaining in the closet.
Out of the remaining shirts, there are 3 green shirts and 5 red shirts, for a total of 8 shirts.
Since you are not allowed to wear the same shirt twice, and you have already worn 3 blue shirts, you have worn a total of 3 shirts.
Therefore, you have 10 - 3 = 7 shirts remaining in the closet.
Since you have 7 shirts remaining, and you can wear one shirt each day for the rest of the week, you can wear a different shirt each day from Thursday to Sunday.
Therefore, the number of different ways you can wear a shirt for the entire week, without wearing the same shirt twice, is:
3 (for Monday, Tuesday, and Wednesday) x 3 (remaining blue shirts) x 4 (for Thursday, Friday, Saturday, and Sunday) = 36.
Hope this helps.