Three references, not three tracks
True north is a geographic reference; magnetic north reflects the local magnetic field. An aircraft compass is also influenced by its installation. Magnetic variation describes the difference between true and magnetic references. Deviation concerns the aircraft compass error. Neither is the same as wind drift.
Define signs before calculating
For this example, take east as positive and west as negative. If magnetic north is 4° east of true north, a true direction of 090° is 086° magnetic: M = T − variation. If the aircraft deviation card gives +2° for this heading, the same convention gives C = M − deviation, or 084° compass.
Use the actual aircraft card
The 4° and 2° values are invented to explain the calculation. Real planning needs variation appropriate to place and date, plus the deviation card for the aircraft. Some cards directly state a heading to steer for a desired magnetic heading. Follow that presentation rather than applying another correction and counting the same effect twice.
Keep wind correction separate
Changing north reference does not calculate the heading needed to maintain a track over the ground. That requires a wind analysis and a distinction between heading and track. In an exercise, label every angular value T, M or C. A plausible-looking number without a reference can still be unusable.
Put the idea to the test
Read a question, choose your answer and compare the explanation with the reasoning above. Try related ATPL questions.