The function to resize a cropped photo, represented as g(n), is calculated by taking 40% of the cropped photo's length, which is represented as g(n) = 0.40 × (n - 4).
The function g for resizing a cropped photo can be defined using the input variable n, which represents the length of the cropped photo. After cropping 4 inches from the photo, the new length is n - 4 inches. To find the resized photo length, you would take 40% of this cropped length. Hence, the function g(n) which outputs the resized photo length in inches is g(n) = 0.40 × (n - 4).