Subway Interview Question

how to develop a pip2 protocol?