'Take away' represents subtraction. 3 times x is represented as 3x. Therefore, take away 3 times x from z is represented as z - 3x.