Completed HW using 2 methods for same line and different line distances