Create an abstract base class and two example subclasses for calculating interception values.