1) Let's sketch this out to better grasp it:
2) Given that we can write out the following equation to find out the value of x:
Now we can plug into the Perimeter (2P) the value 47 and then solve it for x:
We could do that because the Perimeter is the sum of