Are there different circumstances for the relationship to be displayed as:
Bob SMITH is your second cousin once removed ex-husband
YOU -> Mary BROWN (your mother) -> etc
and
Bob SMITH is Joe SMITH's second cousin once removed ex-husband
Joe SMITH (you) -> Mary BROWN (your mother) -> etc