write an expression in simplest form for the perimeter of a right triangle with leg lengths of a 3a^3 and 4a^3