You can translate this in an active form. AT: "you also died to the law when through Christ you died on the cross" (See: [[rc://en/ta/man/translate/figs-activepassive]])
"Raised" here is an idiom for "caused to live again." This can be translated in active form. AT: "to him who was caused to live again" or "to him whom God raised from the dead" or "to him whom God caused to live again" (See: [[rc://en/ta/man/translate/figs-idiom]])
Here "fruit" is a metaphor for actions that please God. AT: "we might be able to do things pleasing to God" (See: [[rc://en/ta/man/translate/figs-metaphor]])