Let $R = \mathbb Z_{40}$ and let $\odot$ be defined on $R$ as follows:
$$\begin{aligned} a \odot b = a + 25b-10 \end{aligned}$$
I need to check if this structure has an identity element, so:
$$\begin{aligned} a \odot \mathbb 1_{R} = a \end{aligned}$$ $$\begin{aligned} a +25e-10 = a \end{aligned}$$ $$\begin{aligned} 25e-10=0 \end{aligned}$$
how can I check for which $0 \leq e \leq 39$ values that equation is true? Is there an algorithm I can use?
Edit: first of all let me apologize because it turns out I am unfamiliar with a lot of concepts you've put in your answers, honestly I didn't quite understand everything, so I've taken out what I know I can handle (hopefully correctly) and I've dealt with it my way. So, almost all of you had suggested I had to solve the equation:
$$\begin{aligned} 25x \equiv_{40} 10 \end{aligned}$$
so as shown in the class I attended, I used the Euclidean method therefore I checked $gcd(25,40) \mid 10$ and after a semplification I got
$$\begin{aligned} 5x \equiv_{8} 2 \end{aligned}$$
as a few of you pointed out. All the solutions of the previous equation are the solutions to $5x \equiv_{8} 1 $, so I've determined $h,k \in \mathbb Z : 1 = 5h+8k$. After a few calculations I've found that $h = -3$ and $k = 2$ so the solutions to my original equation are all in
$$\begin{aligned} \{2+8k : k \in \mathbb Z\} = 2+8\mathbb Z \end{aligned}$$
What I don't get is how do I correctly get to the set of inverse elements, which is $\{2, 10, 18, 26, 34\}$, given the solution to the equation I've found? Is it enough (and correct) counting using modulo 8 starting from $k = 0$ while $2+8k \leq 39$?