The square marker in the top left corner tells us we have a 90 degree angle. The 8x+10 must also be 90 degrees for lines u and v to be parallel. Refer to the alternate exterior angle theorem. Ignore the diagonal lines. Your teacher likely put them there as a distraction.