If you have the 1 July date in some year in cell D3, try

Formula: copy to clipboard
=D3-WEEKDAY(D3+8,3)+6