Two fire towers are 30 kilometers apart, where tower A is due west of tower B. A fire is spotted from the towers, and the bearings from A and B are N 76 degrees E and N 56 degrees W, respectively. Find the distance d of the fire from the line segment AB.