The month of March in the year 1980 contained 5 Saturdays and 5 Mondays.
What day of the week was the 15th of March?
Saturday.
For a 31 day month, such as March, to have 5 Saturdays and 5 Mondays the 1st must have been a Saturday, and the 31st a Monday.
You can then work forwards or backwards.