Solve for the variables a through f in the equations below, using the digits from 0 through 5. Every digit should be used only once. A variable has the same value everywhere it occurs, and no other variable will have that value.
a + a + a = a squared
b + c = b
d x e = d
a – e = b
b squared = d
d + e = f