The legs of right triangle ABC have lengths 3 and 4. What is the perimeter of a right triangle with each side twice the length of its corresponding side in triangle ABC?