Correct, assuming you mix equal parts of the 18 mg and 6 mg juice. In general, the equation for mixing solutions (e-juices, in this case) with different concentrations of the same chemical of concern (nicotine, in this case) is (C1*V1) + (C2*V2) = (C3*V3), where C is concentration, and V is volume.
For your example, using 10 mL bottles of the two you wish to mix:
(18 mg/mL Nicotine)*(10 mL juice)+(6 mg/mL Nicotine)*(10 mL juice)=(12 mg/mL Nicotine)*(20 mL Juice).
Using the general equation, you can determine the final concentration of any combination of juices with different nicotine concentrations, even if you mix three or more juices with different concentrations. For three juices, it would be:
(C1*V1)+(C2*V2)+(C3*V3)=(C4*V4).
For four, it would be:
(C1*V1)+(C2*V2)+(C3*V3)+(C4*V4)=(C5*V5)
And so on.
But if you are not comfortable using algebra, an online calculator you can trust is your best friend.