2 ultra sonic sensor questions

Hey all, I'm a beginner at this arduino course.

I have a few question to ask.

If I have 2 ultra sonic sensors, I want 2 use this sensors to measure how fast people are walking. What code do I need to calculate the time when someone walk pass my first sensor to my second sensors

Thanks