Hello I have my two assignments attached below. Please solve everything and also