The angle you need to use is not 30 degrees but the angle ##\alpha## between the force vector and the perpendicular to the line segment ##\overline{XA}##. You can calculate that angle using geometry, from the information given.

The Torque (moment) will be the force multiplied by ##\cos\alpha## and the length of ##\overline{XA}##.

By the way, that's one weird hammer! Based on the drawing and the dimensions given, the claw is about eight inches long! That's a gemmy, not a hammer. The drawing is not to scale. The 18 in length is not 18/5 times the 5 inch length. That's why the hammer doesn't look weird.

The angle you need to use is not 30 degrees but the angle αα\alpha between the force vector and the perpendicular to the line segment ¯¯¯¯¯¯¯¯¯XAXA¯\overline{XA}. You can calculate that angle using geometry, from the information given.