To figure out where to put the gems, just read the inscriptions on the pedestals. the duty gem goes with the guard, i don't remember what the others are called, but the sadness one goes with the girl, the pain one with her lover, and the wisdom one with the king...This will make ALOT more sense once you read the inscriptions.