When you create it from a microflow, you can use addWeeks()
Or you could consider having an event handler to do this.
Is that what you are looking for?
As Michiel suggested, it is best to implement this using event handlers,
you can update the required by attribute like this