For other mere mortals like myself, the formula is as follows:
D=H/tan(summer sun altitude)
D= depth of awning in meters (what you’re solving for)
H= height of window in meters or from sill to base of awning
Summer sun altitude: obtain from suncalc.org