How to compute variable as a range between 2 formulas?

#1
I'm really stuck. I have two variables: Observed and Recommended.

How do I compute a new variable that =1 when Observed is greater than Recommended*.10 but less than Recommended*.25? I've tried different things in Compute Variable but it doesn't seem to be right. Please help.
 
#2
If I remember correctly:

I believe that there is a command: "Recode into new variable"

new_var = 1 if ((obs> 0.1*rec) & (obs < 0.25*rec))
else
new_var =0

Something like that. :)