First, I want to say that your diagram is very nicely drawn and accurate.
So the slope must be between 1/2 and 1.
Slope is vertical distance over horizontal distance. Therefore, BC must be less than AC.
One slope can be 3/4. The other can be 4/5. These two slopes are one of many possibilities, but we will use these slopes.
Because we have a right triangle, the three sides must satisfy the Pythagorean theorem. Since AB (longest side) is 20 cm, the other to legs (BC and AB) must be less than 20 cm.
Lets pick some values of BC and AB that might work using the slope and know side length.
BC: 3 , 6 , 9 , 12
AC: 4 , 8, 12 , 16
If we add the squares of each corresponding pair, the sum must be equal to 202 , which is 400.
122 + 162 = 400
This pair works and we have our first set. I see that you already have that down. Nice work.
Now we need to get the second set, using the slope of 4/5.
BC: 4 , 8 , 12
AC: 5, 10 , 15
This slope does not work out because none of the corresponding pairs if you add their squares, gets you a sum of 400. Lets try slope 4/6. It is between 1/2 and 1.
BC: 4, 8, 12
AC: 6, 12, 18
Does not work. Try 5/6.
BC: 5, 10, 15
AC: 6, 12, 18
Does not work. Try slope 4/7.
BC: 4, 8
AC: 7, 14
This does not work.
Okay now that you have the idea of how this works, try these slopes:
5/7 , 6/7 , 5/8 , 7/8 , 5/9 , 8/9 , and 7/9