The statement "7 subtracted from 3 times half a number gives 5" can be written in a linear equation as