Maggie baked some pies and muffins. The number of pies was

of
7/11
the number of muffins. Maggie gave away 6 pies and 14 muffins. In
the end, the number of ples left was equal to the number of muffins left.
How many pies and muffins did Maggie bake altogether?

p = (7/11) m

p - 6 = m - 14
so
(7/11) m - 6 = m - 14
m - (7/11) m = 14-6 = 8
4 m/11 = 8
m/11 = 2
m = 22
p = (7/11) m = 14
check
14 - 6 ?=? 22 - 14
8 = 8 sure enough