How do we form Class Intervals?

How do we form Class Intervals?