it's a translation. I don't think it rhymes in spanish either, but there seems to be a fixed meter (I don't speak spanish, so I can't help much here, but I'm sure Hugh Clary would find this a nice challenge):
[
www.mat.upm.es]
By the way, next time, post your homework a bit earlier. Don't expect an answer in 5 minutes! I think I was asleep by the time you posted it, being on the other side of the world probably.