For L2 two points (the pair) are/is given correctly. For L1 only ONE point (not the pair) is given. So completing this assignment is not possible, since a vitally important part of the input is missed. Re-edit and re-submit your post.