the final answer is correct but you can not get contribution before subtraction all variable cost. take variable production cost less closing inventory and the figure you get add it to variable selling and the sum aggregate should be subtracted from sales to get contribution.