construct triangle XYZ such that xy=5cm, xyz=120degree and yz=7cm

ok

now what?
If you can construct a 60° angle, this should pose no problem.