nails and screws are manufactured at a uniform weight per nail and a uniform weight per screw . if the total weight of one screw and one nail is half that of 6 screws and one nail , then the total weight of 3 screws , and 3 nails is how many times that of 5 screws and 1 nails ?
let the weight of nail be n and that of screw be s . . so s + w = 1 / 2 * ( 6 s + 1 n ) . . . or 1 n = 4 s . . lets see the weight of 3 s and 3 n = 3 s + 3 * 4 s = 15 s . . and weight of 5 s and 1 n = 5 s + 1 * 5 s = 10 s . . ratio = 15 s / 10 s = 15 / 10 = 3 / 2 d
divide(add(multiply(3, const_4), 3), const_10)