a. The hydrazone of benzaldehyde has the higher priority group on the carbon atom is the phenyl group, and the priority of the amine group on nitrogen is higher than the lone pair.
In the E-isomer of the compound, the higher priority groups should be on the opposite side of the double bond. Therefore, the structure of (E)-hydrazone of benzaldehyde is:

(E)-hydrazone of benzaldehyde
b. The oxime of propiophenone has the chemical formula ![]()
The carbon atom has a phenyl group and an ethyl group. Therefore, the phenyl group has a higher priority.
The nitrogen atom has a lone pair and hydroxyl group. Therefore, the hydroxyl group has a higher priority.
In a Z-isomer, the higher priority groups are on the same side of the double bond. Therefore, the structure of (Z)-oxime of propiophenone is:

(Z)-oxime of propiophenone