As it is written the 2nd must be a dotted 16th note succeeding an 8th note and a 32nd rest.
You can also chose a value pf a 16th - but the rest after the 1st note should be a 16th, then everything will fit well, if played rubato.
The line below probably means 8va up or could mean pedal, but the should be a break between the phrases.
The b in bar 6 belongs to the 8th note above = Db
I think the solution proposed by musicamante is better than all these transcriptions we find in google.