She was penalized for careless driving.

Literal

She [topic-は] careless-driving [with-で] was-punished.

不注意運転 ('careless driving') is a compact compound. 罰せられた is the passive of 罰する ('to punish'). The causal で marks the reason for the punishment.