AMC 10A 2015 Problem 2

A box contains a collection of triangular and square tiles. There are 25 tiles in the box, containing 84 edges total. How many square tiles are there in the box?

Answer Choices
A. 3
B. 5
C. 7
D. 9
E. 11