Solution:
The floats will be placed near to the citation automatically either to top or bottom position.
Step 1: Click the float and choose the ‘Place floats’ option from the Edit menu.
Step 2: Select the position top or bottom for the selected float.
Step 3: Click the ‘Save and close’ button.
Step 4: Generate proof and check whether it is placed correctly or not.
Similarly repeat the same for the following scenarios,