A quadrilateral is a parallelogram if both pairs of opposite sides are congruent.
Therefore, the lengths of the opposite sides of the given quadrilateral must be equal. Let's write an equation for each pair of opposite sides.
x+5= 2x+2 and y+10= 2y+5
Let's solve the first equation for x.