Let's denote the unknown number as \( x \). The product of 6 and this number can be expressed as \( 6x \).
When 2 is subtracted from this product, the expression becomes:
\[ 6x - 2 \]
So, the complete expression for "2 is subtracted from the product of 6 and a number" is \( 6x - 2 \).