JS Algorithm: Spread X evenly between two dates, but only on weekdays

Let’s say I’m given a start date (3/17/2022) and an end date (3/31/2022).

If x = 3, how would I spread x equally over 3 separate dates between the start date and end date- also taking into consideration that I only want the values spread over weekdays?

The output I am looking for is three separate dates where the divided x is spread equally on.

Does this question make sense?

Thank you!