Exam question help - passing two arguments in function and return

I [COLOR=#000000][FONT=verdana] have this question any help[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]c) Write a new function called ‘getFullName2()’ which takes two arguments (firstName and lastName) and replace the code below. Explain the difference.


[/FONT][/COLOR]
var firstName:String = new String("Tom");var lastName:String = new String("Smith");function getFullName():String{var fullName:String = firstName + " " + lastName;return fullName;}var fullName:String = getFullName(); [LEFT][COLOR=#000000]trace("name is: ",fullName);
[/COLOR][/LEFT]

[COLOR=#000000][FONT=verdana]

thanks[/FONT][/COLOR]