Length of a rectangle exceeds its width by 12 inches and its area is 768 square inches. Write the equation which solves this problem?