Write SQL query to solve given problem: What is the average cost of root beers purchased for more than 2 dollars and sold in bottles?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(T2.PurchasePrice) FROM rootbeer AS T1 INNER JOIN `transaction` AS T2 ON T1.RootBeerID = T2.RootBeerID INNER JOIN rootbeerbrand AS T3 ON T1.BrandID = T3.BrandID WHERE T1.ContainerType = 'Bottle' AND T2.PurchasePrice > 2