Complex sentence: Gavin is Michael Rodwell's (Les Dennis) real son, his friend Andy Carver (Oliver Farnworth) having pretended to be him.
Split into simpler sentences: Gavin is Michael Rodwell's (Les Dennis) son. His friend Andy Carver (Oliver Farnworth) has been pretending to be him.