Inverse problem of elastica of a variable-arc-length beam subjected to a concentrated load