1602 LCD and reading out RPM fan

Al the fans are Identical.
How am i gonna get the two durations and add them together?