I have two flat shapes of equal area, one is a capsule shape and one is a doughnut shape. The outer diameter of the doughnut is equal to the length of the capsule. The inner diameter of the doughnut and the width of the capsule are both equal to 10mm.

What is the outer diameter (to the nearest mm)?