Complex sentence: The couple had hidden their relationship for the five years (since 2009), but got married after being together only for two years.
Split into simpler sentences: The couple had hidden their relationship for the five years (since 2009). They got married after being together for two years.