Jae created a painting with an area of 48 square inches and a length of 6 inches. They create a second painting with an area of 64 square inches. It has the same width as the first painting. What is the length of the second painting?