To find the length of \( d \), which represents the diagonal from the back right corner of the rectangular prism to the front left corner, we can use the 3D distance formula. The formula for the distance \( d \) between two points \( (x_1, y_1, z_1) \) and \( (x_2, y_2, z_2) \) in a three-dimensional space is given by:
\[ d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2} \]
In this case, we can define the coordinates of the vertices as follows (assuming the front bottom left corner of the prism is at the origin \( (0, 0, 0) \)):
- The back right corner of the prism will have coordinates \( (l, w, h) = (30, 20, 18) \).
- The front left corner of the prism will have coordinates \( (0, 0, 0) \).
Now we can plug these coordinates into the distance formula:
\[ d = \sqrt{(30 - 0)^2 + (20 - 0)^2 + (18 - 0)^2} \] \[ d = \sqrt{30^2 + 20^2 + 18^2} \] \[ d = \sqrt{900 + 400 + 324} \] \[ d = \sqrt{1624} \] \[ d \approx 40.31 \]
Rounding to the nearest tenth, the length of \( d \) is:
\[ \boxed{40.3} \text{ in.} \]