Docusign interview question

If I were to design a cab system in Java, how would I do it?