If she would have agreed I might have married her. If she had agreed I might have/would have married her. would is not normally used in the if -clause of a conditional statement unless it is to emphasize some sort of reciprocal action.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.