Slope and Distance problems