Grind or pound your basalt into a fine powder. Do the same with your granite. If there are some wheat grain sized granules in your granite, it doesn't matter, natural soils have them too. You should prepare a number of pots with different proportions of the two main ingredients. A little silicon dioxide sand might be worth adding to some of your pots, there is plenty of it on Mars. Then sow your seeds and see what happens.
Different plants have different soil requirements, so you should try more than one species. The trickiest ingredient to obtain, and one of the most important, is nitrogen. several sources of nitrogen on Earth, for example lightning discharges and urine, are not available on Mars. I wonder if a sprinkling of potassium nitrate would count as cheating. It occurs as an evaporite on Earth, but I haven't heard that any has been found on Mars. See how well your plants can manage without it. Potassium nitrate (saltpetre) is available from chemists.
MgO
Magnesium oxide, is a dietary supplement found in health food stores. You can get 225 grams for about \$10.
CaO
Calcium oxide, Now this one is tricky. I couldn’t easily buy calcium oxide. It seems that calcium oxide reacts with CO2 in the air and gets converted into calcium carbonate. But you can buy calcium carbonate (CaCO3) as a dietary supplement. This can then be turned into calcium oxide by ‘lime-burning’, just heat it up in a kiln to above 825°C. You can get 340 grams of calcium carbonate for about \$10
and others that lets you buy your own (I won't link to them because of advertising, but the Martian garden is one such site). I think you could get close with the above recipe.
In any scenario, I would strongly recommend supervising your child when they are working with the stimulant. It should be handled with gloves and a respirator mask. Ingestion is very dangerous, and it might not be the worst idea to check the number of your local poison control center. While this may seem like overkill, it would make a great section of your child's science project. "Methodology", "Safety", and "Standards & Practices" are all very important parts of working in a lab and in engineering.
Best of luck!