A pattern has 2 blue triangles to every 10 yellow triangles. What is the ratio of blue triangles to all triangles?