The top one is the jockey pulley. The bottom one is the tension pulley. Just to make it confusing, both are idler pulleys.
Replace that derailer with something better. Most any derailer is better. I'm a fan of French bikes and French components, but not of the cheap Simplexes. The plastic has turned brittle and they're unreliable.