Find all $x$ such that both $2x$ and $3x-7$ are in the interval $(-1,12)$.