which has been determined to be necessary to prepare the individual for employment or to support the individual in employment and has been documented by a qualified medical, substance abuse, or mental health professional. . (f) Pro rata penalties against individuals Section 407(e) ( 42 U.S.C. 607(e) ) is amended by adding at the end the following: (3) Pro rata reduction For purposes of subparagraph (A) in paragraph (1), the amount of a pro rata reduction in assistance shall be determined by multiplying the total amount of monthly assistance that would, in the absence of the application of this paragraph, be paid to the entire family, by the ratio of— (A) the hours of required work activities as designated in subsection (d) actually performed by the individual during the month