The diagonal is acting as the hypotenuse of a right triangle. The length and width are the legs.
Use the Pythagorean Theorem c2=a2+b2.or, in this case d2=l2+w2.
d (diagonal) = 25
w (width) = w
l (length) = 2w+10
252=(2w+10)2+w2
252=625
Using the FOIL method, expand (2w+10)2=(2w+10)(2w+10)=4w2+40w+100
625=4w2+40w+100+w2
Combine like terms and set the problem equal to zero.
0=5w2+40w-525
Divide all terms by 5.
0=w2+8w-105
Factor into two binomials.(I'd be glad to explain this process)
0=(w+15)(w-7)
Set each binomial equal to zero.
w+15=0 w-7=0
w=-15 w=7 (Discard the negative answer since you are looking for a distance.)
w=7mm
Now substitute width in l=2w+10
l=2w+10
l=2(7)+10
l=14+10
l=24 mm