Let's first reposition the triangle like this:
With respect to angle 40 degrees, we have the opposite side HJ and adjacent side IJ. We can use the trigonometric function tangent to solve for the length of IJ. We have:
Solving for IJ, we have:
Therefore, side IJ has a length of 6 units.
Answer: IJ = 6