Finding lines with specific intercept properties