Help With An Automation For Sprinkler

I am trying to write an automation but not sure where to start. I am looking to start a switch at 6am and run for 10 mins then off but only certain days of the week. It is basically a custom Mqtt sprinkler system that was built. So I have it in HA for the 2 Sprinkler zones. I can start at 6am and off at 610 but want it to run on 3 days of the week.

How about using