Answer:
VBA CODE:
Sub wxEx2()
'''''' Question b''''''''
' Making the sheet active
wsEx2.Activate
'''''' Question c''''''''
' Setting range
Dim r1, Scores As Range
Set r1 = Sheets("Problem 2").Range("A2:A10")
'''''' Question d''''''''
' Set range Scores
Set Scores = Sheets("Problem 3").Range("B6:B14")
'''''' Question e''''''''
' Weighted average
Dim val As Double
Sheets("Problem 2").Range("A12").Value = Application.WorksheetFunction.SumProduct(r1, Scores) / Application.WorksheetFunction.Sum(Scores)
'''''' Question f''''''''
' Chane background color
Sheets("Problem 2").Range("A12").Interior.ColorIndex = 4
'''''' Question g''''''''
' Make italic bold
Sheets("Problem 2").Range("A12").Font.Bold = True
Sheets("Problem 2").Range("A12").Font.Italic = True
End Sub