Being a male and preferring to drive a sports car represents dependent events because being a male influence the event of preferring a sports car, according to the chart.
Hence, A and B are dependent events.
To demonstrate this, we have to use the following formula

Where,

Then

Given that this result is not true. We prove that the events are not independent.
Now, let's do the same process to answer (b).

Where

Then

Hence, A and B are dependent events.