It is the same principle as fitting a stencil onto your border. Mark the corners then measure the remaining length and divided by the width of the scallop. Then you may have to tweak the width of the scallop in order for it to fit. Have a calculator close by.