Great job!
If the tax is $4, there must be a $4 difference between the price buyers and sellers each experience. No matter if the tax is levied on producers or consumers, we need to locate the points on the supply and demand curves where there is a vertical gap of the size of the tax. A quantity of 3, with (before tax) consumers paying $3 and producers receiving $7 is the only combination that satisfies the requirements.