A man who raped a teenage girl alongside his son has been sentenced to nine years in prison.