Hi Naif,
I wonder if it would be possible to arrange something using Restricted access (When enabled, this lets you set conditions (based on date, grade, or completion) that control whether an activity or resource can be accessed) - so you have the two activities in the course and you base access on if the alternate activity was complete? I've not set anything up to test but it might be worth looking at.
cheers,
George.