Yes. It is possible. You have to make a shape without the 5 cm you will use for one side. So, basically, make a shape without using the 5 cm, then before you finish your shape, add the 5 cm. Or the opposite. Add 5 cm at the beginning and put the other lengths around it. It's not easy, but it's possible!