Complex sentence: Amanda follows him and convinces him to accept the job while later they end up at her room having sex with Niles watching the whole thing from the spy camera he has put into Amanda's room.
Split into simpler sentences: Amanda follows him and convinces him to accept the job. Later, they end up in her room having sex, with Niles watching the whole thing from the spy camera he has planted in Amanda's room.