Step 1: Understanding drainage density.
Drainage density is defined as the total length of all streams (in km) in a drainage basin divided by the area of the basin (in km\(^2\)). The formula for drainage density \( D \) is:
\[
D = \frac{\text{Total length of streams}}{\text{Area of basin}}
\]
Step 2: Calculating the total length of streams.
The total length of streams is the sum of the lengths of the 1st, 2nd, 3rd, and 4th order drainages:
\[
\text{Total length of streams} = 12.5 + 8.8 + 4.7 + 4.0 = 30.0 \, \text{km}
\]
Step 3: Calculating the drainage density.
The area of the basin is given as 40 sq. km. Therefore, the drainage density is:
\[
D = \frac{30.0}{40} = 0.75 \, \text{km}^{-1}
\]
Step 4: Conclusion.
The drainage density of the basin is 0.75 km\(^{-1}\).