something is not quite correct with your problem statement ... a parallelogram with adjacent side lengths of 2 and 8 must have diagonals (both) of length less than 10.

note the triangle inequality ... the sum of any two sides of a triangle must be greater than the length of the third side.