[Same code as last one] And slope case approach 2