If three times a number y is decreased by two the answer is seven.