Solution for Problem 11: Duplexer