I think it is a mistake in the question, now you are saying angle c=30 degree, then also you can proceed as above but make angle C=30 instead of angle B=45 as given above in the figure
If A=30 degree then the question is incorrect either B or C will be 30 degree