Two-Interval Pattern Problems