Sorry. We do not do homework assignments. If you're willing to provide us with your answers, we'd be more than happy to guide you.
Note, "has been married" is a verb phrase, whereas "has had been married" is not a verb phrase:
1a. How long has your sister been married?
1b. How long has your sister had been married?
Note also, "for" + [a number] years:
I've had my bike for the past two years.