1 inline-block above the other

I have two inline blocks both floating right (one above the other), but since the top one doesn’t take the entire width of the parent, the bottom one is shifting left next to the top one. What should I do to avoid this?

Thank you in advance.

Try giving those elements clear:right;

Thanks a lot I only had the clear on the top one. working perfect.