ok from your 2 equations 20-2x>0 and 36-2x>0 you solve both.
from 20-2x>0 you get x = (0,10) and from 36-2x>0 you get x = (0,18)
remember you have to satisfy both equations
so you know x = (0,10) satisfies both, what happens if we choose say, 13?
well it satisfies 36-2x>0, but hold on a sec it doesn't work with 20-2x>0 - it yields a negative answer, which we know it is impossible to have a negative length.
As I said draw it out and visualize what happens when x increases...
say x=9 (which satisfies both equations) you will now have a 2x18
you can see one side (the one governed by 20-2x>0) will reach zero before the other... anything after that (x=10,11,12,etc...) the side will have negative length (which not possible!) thus your rectangle is ruined.
as coblin said, you need to find the intersection of solutions so that there is a maximal domain which satisfies both equations.