For every 6kg of a child's weight, pediatricians prescribe 7mg of fever reducer. If Greg weighs 42kg, how many milligrams of the fever reducer will the pediatrician prescribe?