Good,
First you have to be careful about closing the tags.
One of the ways you have to align elements is by using float
<div id="bola"><h4 style="text-align: left; display:block">Bibliotecas</h4></div>
<div id="bola2">
<img src="http://culturalis.pt/wp-content/uploads/2015/06/circun.png"alt="curva" style="float:left; display:inline-block"/>
<hr style="height:3px;width:100px;border-width:0;color:#D29E1D;background-color:#D29E1D;float:left"></hr>
</div>
I just closed the tags that were not closed here
I've added this CSS
#bola{
float: left;
}
#bola2 {
float: left;
margin-top: 20px;
}
You have the FIDDLE where you can test
P.S. I used margin-top
to center more or less #bola2
compared to #bola
ALTERNATIVE
If you do not want to use a CSS file to save styles, you can always add to HTML HTML
<div id="bola"style="float: left">
<h4 style="text-align: left; display:block">Bibliotecas</h4>
</div>
<div id="bola2" style="float: left;margin-top: 20px;">
<img src="http://culturalis.pt/wp-content/uploads/2015/06/circun.png"alt="curva" style="float:left; display:inline-block"/>
<hr style="height:3px;width:100px;border-width:0;color:#D29E1D;background-color:#D29E1D;float:left"></hr>
</div>
Here's the FIDDLE of this case