write the function for each set of cards:Example of others Input/Output
rule being multiply by5 then subtract by 1 / rule being multiply by 2 then minus 10
1======4 1x5-1=4 5=======0 5x2-10
2======9 2x5-1=9 6=======2 6x2-10
3======14 3x5-1=14 7=======4 7x2-10
4======19 4x5-1=19 8=======6 8x2-10
NOW this one....
1========3
2========6
3========11
4========18
rule being multiply by5 then subtract by 1 / rule being multiply by 2 then minus 10
1======4 1x5-1=4 5=======0 5x2-10
2======9 2x5-1=9 6=======2 6x2-10
3======14 3x5-1=14 7=======4 7x2-10
4======19 4x5-1=19 8=======6 8x2-10
NOW this one....
1========3
2========6
3========11
4========18