Pipe Technologies interview question

Implementing a solution for provided business requirements