Determine the maximum average shear stress in pin A of the truss

Determine the maximum average shear stress in pin A of the truss. A horizontal force of P=40P is applied to joint C.$ Each pin has a diameter of 25m and is subjected to double shear.