“Ich habe gestern lange gearbeitet.” means “I worked for a long time yesterday.” In a past sentence, gearbeitet goes at the end.