Complex sentence: When the governmental restriction restricts liberty in a manner that does not implicate a fundamental right, rational basis review is used, and a legitimate government interest is enough to pass this review.
Split into simpler sentences: When the governmental restriction restricts liberty in a manner that does not implicate a fundamental right, rational basis review is used. Here a legitimate government interest is enough to pass this review.