David buys 2 DVDs and 2 CDs in a shop and in total they cost £18.
Ellie buys 3 DVDs and 2 CDs in the same shop and they cost £22.
Form two equations and solve to find the cost of each DVD and each CD.