How would I go about adding a subscript to a symbol I'm defining from an equation. For example I have an equation
E_m = \alpha_m x + y
How can I then do something like
The above gives me errors and I can't figure out how to correct this.